/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bff.slimserver.musicjukebox.lib;

import com.bff.bjj.utils.Resources;
import com.bff.slimserver.musicjukebox.ui.components.AlbumList;
import org.bff.slimserver.musicobjects.SlimAlbum;
import org.bff.slimserver.musicobjects.SlimGenre;

/**
 *
 * @author bfindeisen
 */
public class AlbumAllAlbum extends SlimAlbum {
    private AlbumList.ListType type;
    private String year;
    private SlimAlbum album;
    private SlimGenre genre;

    public AlbumAllAlbum(AlbumList.ListType type) {
        setId("-1");
        setName(Resources.getMessage(Resources.LABEL_KEY.ALBUM_ALL_ALBUM));
        setType(type);
        setArtist("");
    }

    /**
     * @return the type
     */
    public AlbumList.ListType getListType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    private void setType(AlbumList.ListType type) {
        this.type = type;
    }

    /**
     * @return the year
     */
    @Override
    public String getYear() {
        return year;
    }

    /**
     * @param year the year to set
     */
    @Override
    public void setYear(String year) {
        this.year = year;
    }

    /**
     * @return the album
     */
    @Override
    public SlimAlbum getAlbum() {
        return album;
    }

    /**
     * @param album the album to set
     */
    @Override
    public void setAlbum(SlimAlbum album) {
        this.album = album;
    }

    /**
     * @return the genre
     */
    @Override
    public SlimGenre getGenre() {
        return genre;
    }

    /**
     * @param genre the genre to set
     */
    @Override
    public void setGenre(SlimGenre genre) {
        this.genre = genre;
    }
}
